﻿using System;
using MongoDB.Bson;

namespace CQRS.Events
{
    public class EventProviderDto : MongoObject
    {
        public EventProviderDto(ObjectId eventProviderId, int version)
        {
            EventProviderId = eventProviderId;
            Version = version;
        }

        public ObjectId EventProviderId { get; private set; }
        public int Version { get; private set; }
    }
}
